Macro AeroFoil/de

Tragflächenprofil

Beschreibung
Tragflächenprofil erstellt Tragflächenprofilkurven und -flächen mit vordefinierten Modellen, algebraischen Funktionen und DAT- oder CSV-Dateien.

Versionsmakro : 2.0.1
Datum der letzten Änderung : 2021-03-10
FreeCAD version : 0.17 und neuer
Herunterladen : Werkzeugleisten-Symbol
Autor: Melwyncarlo
Autor
Melwyncarlo
Herunterladen
Werkzeugleisten-Symbol
Links
Macro-Version
2.0.1
Datum der letzten Änderung
2021-03-10
FreeCAD-Version(s)
0.17 und neuer
Standardverknüpfung
None
Siehe auch
None

Beschreibung

AeroFoil (Tragflächenprofil) ist ein vom Anwender erstelltes Makro, das innerhalb der FreeCAD-Anwendung verwendet werden kann. AeroFoil erstellt Tragflächenkurven und -flächen unter Verwendung vordefinierter Modelle, algebraischer Funktionen sowie importierter DAT- oder CSV-Dateien.

   Dies ist das 'Tragflächenprofil Makro’- Symbol.

Das Makro Tragflächenprofil kann über den integrierten AddonManager innerhalb der FreeCAD-Software heruntergeladen werden.

Schlüsselfunktionen

<span id="Additional_Features_0.19 and above">

Zusatzfunktionen 0.19 und neuer

Tragflächenprofil-Objekt-Eigenschaften (schreibgeschützt) :
Basis

Makro Tragflächenprofil Ausgabe-Typen

Makro Tragflächenprofil-Eingabetypen

Installation

Linux

AeroFoil kann manuell installiert werden, ähnlich wie bei einer Windows-Installation, oder mithilfe des Befehlsterminals und den entsprechenden Befehlen, wie in der Datei INSTALL beschrieben.

Standardmäßig kann das Linux Befehlsterminal durch gleichzeitiges Drücken der folgenden Tastaturtasten gestartet werden:

Control + Alt + T

Windows

Tragflächenprofil kann mit Hilfe der folgenden zwei Schritte installiert werden :-

  1. Die Datei AeroFoil.zip herunterladen.
  2. Entpacke den Inhalt der ZIP-Datei in das Verzeichnis für FreeCAD-Benutzermakros.

Standardmäßig sollte sich das FreeCAD-Benutzer-Makroverzeichnis unter folgendem Pfad befinden:

C:/Users/User_Name/AppData/Roaming/FreeCAD/Macro

Anwendung

Tragflächenprofil kann durch Ausführen der folgenden Schritte geladen werden: -

  1. Die FreeCAD-Applikation starten.
  2. Gehe zu Makro → Makros ....
  3. Auf den Reiter Benutzermakros im erscheinenden Dialog klicken.
  4. Wähle AeroFoil.FCMacro.
  5. Auf Ausführen klicken.

Sobald das Makro Tragflächenprofil geladen ist, befolge die Anweisungen in den entsprechenden Dialogfeldern, gebe die relevanten Eingaben ein und navigiere entsprechend. Im Falle eines Fehlers oder einer Warnung wird man automatisch benachrichtigt. Falls man aufgefordert wird, einen unerwarteten Fehler zu melden, teile den Fehler mit, indem die FreeCAD-Version angeben wird, die durchgeführten Schritte nachverfolgt werden und angeben wird, ob (und in welchem Umfang) eine Ausgabe generiert wurde oder nicht.

Anmerkungen

(1) Performing the macro operation with custom points and refinement produces no visible changes.
(2) The AeroFoil object properties are only visible on the FreeCAD software version 0.19. On older versions, you will be shown a warning on the console. This warning will not affect the output.

Hinweise zur Verwendung:

  1. For the NACA airfoils, the last two digits (combined) cannot have a value of zero; thickness cannot be a zero value.
  2. The NACA 5-digit airfoils are limited to the following models ('XX' denotes the last two digits, thickness, of the airfoil) :
    • 210XX
    • 220XX
    • 221XX
    • 230XX
    • 231XX
    • 240XX
    • 241XX
    • 250XX
    • 251XX
  3. For curve functions, only use the preset characters and functions.
  4. For curve functions, 2*x is correct, whereas 2x is incorrect.
  5. For curve functions, y=f(x) ranges from 0 to 1, both inclusive.
  6. For curve functions, the trigonometric theta is in degrees (θ °)
  7. For curve functions, the trigonometric theta ranges from to 360°, subject to computational limits.
  8. Curves or points that are intersecting between 0 and 1, both exclusive, will return an error.
  9. Curves or points that contain the bottom airfoil data cannot be mirrored
  10. For file imports, it is suggested to leave the line, row, and column numbers to their default values, unless you are well-informed.
  11. Increasing the refine and quantity parameters increases the computation time and resources.
  12. Absolute chord length, in millimetres, cannot be less than 1mm.

Voreingestellte Zeichen und Funktionen

Skript

__Title__         = "AeroFoil"
__Author__        = "Melwyncarlo"
__Version__       = "2.0.0"
__Date__          = "2021-03-09"
__Comment__       = "AeroFoil creates airfoil curves and faces using pre-defined models, algebraic functions, and DAT or CSV Files"
__Web__           = "https://github.com/melwyncarlo/AeroFoil"
__Wiki__          = "https://wiki.freecad.org/index.php?title=Macro_AeroFoil"
__Icon__          = "https://wiki.freecad.org/images/5/59/AeroFoil-reduced.png"
__Help__          = "Click on the AeroFoil button/macro, and follow the instructions in the subsequent dialog boxes."
__Status__        = "stable"
__Requires__      = "Freecad >= v0.17"
__Communication__ = "https://github.com/melwyncarlo/AeroFoil/issues"
__Files__         = "AeroFoil_UI_Files/AeroFoil_Initial_Dialog.ui, AeroFoil_UI_Files/AeroFoil_NACA4Digit_Dialog.ui, \
AeroFoil_UI_Files/AeroFoil_NACA5Digit_Dialog.ui, AeroFoil_UI_Files/AeroFoil_CurvesInput_Dialog.ui, \
AeroFoil_UI_Files/AeroFoil_PointsInput_Dialog.ui, AeroFoil_UI_Files/AeroFoil_DATInput_Dialog.ui, \
AeroFoil_UI_Files/AeroFoil_CSVInput_Dialog.ui, AeroFoil_UI_Files/AeroFoil_FileLoad_Dialog.ui, \
AeroFoil_UI_Files/AeroFoil_Final_Dialog.ui, AeroFoil_UI_Files/AeroFoil_Math_Functions_Box.ui, \
AeroFoil_UI_Files/AeroFoil_mfb_img.gif, AeroFoil_UI_Files/AeroFoil.svg"


#  OS: Ubuntu 18.04.5 LTS
#  Word size of OS: 64-bit
#  Word size of FreeCAD: 64-bit
#  Version: 0.18.4.
#  Build type: Release
#  Python version: 3.6.8
#  Qt version: 5.9.5
#  Coin version: 4.0.0a
#  OCC version: 7.3.0
#  Locale: English/UnitedKingdom (en_GB)

#  OS: Ubuntu 18.04.5 LTS (LXDE/Lubuntu)
#  Word size of OS	: 64-bit
#  Word size of FreeCAD: 64-bit
#  Version: 0.19
#  Build type: Release
#  Branch: unknown
#  Hash: 32200b604d421c4dad527fe587a7d047cf953b4f
#  Python version: 3.6.9
#  Qt version: 5.9.5
#  Coin versio: 4.0.0a
#  OCC version: 7.3.0
#  Locale: English/UnitedKingdom (en_GB)

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://raw.githubusercontent.com/melwyncarlo/AeroFoil/main/AeroFoil.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://raw.githubusercontent.com/melwyncarlo/AeroFoil/main/AeroFoil.FCMacro")
<class="rawcodeurl"><a href="https://raw.githubusercontent.com/melwyncarlo/AeroFoil/main/AeroFoil.FCMacro">raw code</a>


Verweise

[1] AeroFoil Github Repositorium
[2] FreeCAD Makros Github Repositorium - AeroFoil
[3] FreeCAD Forum Diskussionsseite - AeroFoil
[4] Tragflächenprofil Werkzeuge enthält etwa 1.638 verschiedene Tragflächenprofile.
[5] UIUC Tragflächenprofil Koordinaten Datenbank enthält fast 1.600 verschiedene Tragflächenprofile.